package card;

/**
 * @author 兴趣使然黄小黄
 * @version 1.0
 * 抽象每张扑克牌的实体
 */
@SuppressWarnings({"all"})
public class Poker {

    private int rank; // 数字

    private String suit; // 花色

    public Poker(int rank, String suit) {
        this.rank = rank;
        this.suit = suit;
    }

    public int getRank() {
        return rank;
    }

    public void setRank(int rank) {
        this.rank = rank;
    }

    public String getSuit() {
        return suit;
    }

    public void setSuit(String suit) {
        this.suit = suit;
    }

    @Override
    public String toString() {
        return "Poker{" +
                "rank=" + rank +
                ", suit='" + suit + '\'' +
                '}';
    }
}
